<!DOCTYPE html>
{% load static %}
<html lang="en-us">
<head>
    <title>登录 | 玩吧游戏后台管理</title>
    <link rel="stylesheet" type="text/css" href="{% static "admin/css/base.css" %}"/>
    <link rel="stylesheet" type="text/css" href="{% static "admin/css/login.css" %}"/>


    <meta name="robots" content="NONE,NOARCHIVE"/>
</head>


<body class=" login"
      data-admin-utc-offset="0">

<!-- Container -->
<div id="container">


    <!-- Header -->
    <div id="header">
        <div id="branding">

            <h1 id="site-name"><a href="/LN_game/login/">玩吧游戏后台管理</a></h1>

        </div>


    </div>
    <!-- END Header -->


    <!-- Content -->
    <div id="content" class="colM">
        {% if error_message %}
            <p class="errornote">
                {{ error_message }}
            </p>
        {% endif %}

        <div id="content-main">


            <form action="/LN_game/login/" method="post" id="login-form">
{#                <input type='hidden' name='csrfmiddlewaretoken' value='FzYaTdas1bWLKnDOTe3GAhOOX7DkrFUP'/>#}
                <div class="form-row">

                    <label class="required" for="id_username">用户名:</label> <input id="id_username" maxlength="254"
                                                                                  name="username" type="text" value="{{ username }}"/>
                </div>
                <div class="form-row">

                    <label class="required" for="id_password">密码:</label> <input id="id_password" name="password"
                                                                                 type="password" value="{{ password }}"/>
{#                    <input type="hidden" name="next" value="/admin/"/>#}
                </div>


                <div class="submit-row">
                    <label>&nbsp;</label><input type="submit" value="登录"/>
                </div>
            </form>

            <script type="text/javascript">
                document.getElementById('id_username').focus()
            </script>
        </div>


        <br class="clear"/>
    </div>
    <!-- END Content -->

    <div id="footer"></div>
</div>
<!-- END Container -->

</body>
</html>
